Cross-Platform GPU-Based Implementation of Lattice Boltzmann Method Solver Using ArrayFire Library

نویسندگان

چکیده

This paper deals with the design and implementation of cross-platform, D2Q9-BGK D3Q27-MRT, lattice Boltzmann method solver for 2D 3D flows developed ArrayFire library high-performance computing. The leverages ArrayFire’s just-in-time compilation engine compiling high-level code into optimized kernels both CUDA OpenCL GPU backends. We also provide C++ Rust implementations show that it is possible to produce fast cross-platform simulations minimal code, effectively less than 90 lines code. An illustrative benchmarks (lid-driven cavity Kármán vortex street) single double precision floating-point on 4 different GPUs are provided.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Ye Zhao Lattice Boltzmann based PDE solver on the GPU

Y. Zhao ( ) Kent State University, Department of Computer Science, Kent, OH 44242, USA [email protected] Abstract In this paper, we propose a hardware-accelerated PDE (partial differential equation) solver based on the lattice Boltzmann model (LBM). The LBM is initially designed to solve fluid dynamics by constructing simplified microscopic kinetic models. As an explicit numerical scheme with on...

متن کامل

Multi-GPU Implementation of a Hybrid Thermal Lattice Boltzmann Solver using the TheLMA Framework

In this contribution, a single-node multi-GPU thermal lattice Boltzmann solver is presented. The program is based on the TheLMA framework which was developed for the purpose. The chosen implementation and optimisation strategies are described, both for inter-GPU communication and for coupling with the thermal component of the model. Validation and performance results are provided as well.

متن کامل

Multi-GPU implementation of the lattice Boltzmann method

The lattice Boltzmann method (LBM) is an increasingly popular approach for solving fluid flows in a wide range of applications. The LBM yields regular, data-parallel computations; hence, it is especially well fitted to massively parallel hardware such as graphics processing units (GPU). Up to now, though, single-GPU implementations of the LBM are of moderate practical interest since the on-boar...

متن کامل

From Lattice Boltzmann Method to Lattice Boltzmann Flux Solver

Based on the lattice Boltzmann method (LBM), the lattice Boltzmann flux solver (LBFS), which combines the advantages of conventional Navier–Stokes solvers and lattice Boltzmann solvers, was proposed recently. Specifically, LBFS applies the finite volume method to solve the macroscopic governing equations which provide solutions for macroscopic flow variables at cell centers. In the meantime, nu...

متن کامل

A Lattice-Boltzmann solver for 3D fluid simulation on GPU

A three-dimensional Lattice-Boltzmann fluid model with nineteen discrete velocities was implemented using NVIDIA Graphic Processing Unit (GPU) programing language ‘‘Compute Unified Device Architecture’’ (CUDA). Previous LBM GPU implementations required two steps to maximize memory bandwidth due to memory access restrictions of earlier versions of CUDA toolkit and hardware capabilities. In this ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Mathematics

سال: 2021

ISSN: ['2227-7390']

DOI: https://doi.org/10.3390/math9151793